package com.easyCms.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "app_check_code")
public class AppCheckCode extends BaseEntity {
	/**
	 * 手机号码
	 */
	@Column(name = "phone_number")
	private String phoneNumber;

	/**
	 * 验证码类型：1：账号注册验证码 2.修改密码验证码
	 */
	@Column(name = "check_code_type")
	private Integer checkCodeType;

	/**
	 * 验证码值
	 */
	@Column(name = "check_code")
	private String checkCode;

	/**
	 * 失效时间
	 */
	@Column(name = "expire_date")
	private Date expireDate;

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Integer getCheckCodeType() {
		return checkCodeType;
	}

	public void setCheckCodeType(Integer checkCodeType) {
		this.checkCodeType = checkCodeType;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

}
